package com.tianhui.consignortwofei.mvp.ui.activity.hetong.activity.edit;


import com.tianhui.consignortwofei.mvp.model.hetong.ContractInfo;
import com.tianhui.consignortwofei.mvp.ui.activity.hetong.activity.ContractAddStepThreeActivity;

/**
 * @author fgs
 * @date 2021/5/20
 * @description
 **/
public class EditContractStepThreeActivity extends ContractAddStepThreeActivity {

    @Override
    public void initView() {
        super.initView();
        setTitle("编辑合同");
        mAuthorizedRepresentativeFirstPartyInputItemView.setContent(mContractInfo.representative_a);
        mPhoneFirstPartyInputItemView.setContent(mContractInfo.tel_a);
        mFaxFirstPartyInputItemView.setContent(mContractInfo.fax_a);

        mCompanyNamePartyBInputItemView.setContent(mContractInfo.company_b);
        mCompanyAddressPartyBInputItemView.setContent(mContractInfo.address_);
        mLegalPersonPartyBInputItemView.setContent(mContractInfo.legalperson_b);

        mAuthorizedRepresentativePartyBInputItemView.setContent(mContractInfo.representative_b);
        mPhonePartyBInputItemView.setContent(mContractInfo.tel_b);
        mFaxPartyBInputItemView.setContent(mContractInfo.fax_b);

    }

    protected void openNextActivity(ContractInfo contractInfo) {
        openNextStepActivity(contractInfo, EditContractStepFourActivity.class);
    }
}
